package com.codetree.strategy.functionalInterface;

import com.codetree.strategy.functionalInterface.domain.PaymentResult;

import java.math.BigDecimal;

/**
 * 函数式接口
 */
@FunctionalInterface
public interface PaymentFunctionStrategy {

    PaymentResult pay(BigDecimal amount);
}
